HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/sportpoint-hotel.ru/public_html/wp-content/plugins/elementor/assets/js/common-modules.min.js
/*! elementor - v2.5.14 - 16-04-2019 */
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=198)}({19:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=u(n(5)),r=u(n(6)),i=u(n(20));function u(e){return e&&e.__esModule?e:{default:e}}t.default=window.elementorModules={Module:o.default,ViewModule:r.default,utils:{Masonry:i.default}}},198:function(e,t,n){"use strict";var o=i(n(19)),r=i(n(199));function i(e){return e&&e.__esModule?e:{default:e}}o.default.common={views:{modal:{Layout:r.default}}}},199:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(200)),i=a(n(201)),u=a(n(202));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Marionette.LayoutView),o(t,[{key:"el",value:function(){return this.getModal().getElements("widget")}},{key:"regions",value:function(){return{modalHeader:".dialog-header",modalContent:".dialog-lightbox-content",modalLoading:".dialog-lightbox-loading"}}},{key:"initialize",value:function(){this.modalHeader.show(new r.default(this.getHeaderOptions()))}},{key:"getModal",value:function(){return this.modal||this.initModal(),this.modal}},{key:"initModal",value:function(){var e={className:"elementor-templates-modal",closeButton:!1,draggable:!1,hide:{onOutsideClick:!1}};jQuery.extend(!0,e,this.getModalOptions()),this.modal=elementorCommon.dialogsManager.createWidget("lightbox",e),this.modal.getElements("message").append(this.modal.addElement("content"),this.modal.addElement("loading")),e.draggable&&this.draggableModal()}},{key:"showModal",value:function(){this.getModal().show()}},{key:"hideModal",value:function(){this.getModal().hide()}},{key:"draggableModal",value:function(){var e=this.getModal().getElements("widgetContent");e.draggable({containment:"parent",stop:function(){e.height("")}}),e.css("position","absolute")}},{key:"getModalOptions",value:function(){return{}}},{key:"getLogoOptions",value:function(){return{}}},{key:"getHeaderOptions",value:function(){return{closeType:"normal"}}},{key:"getHeaderView",value:function(){return this.modalHeader.currentView}},{key:"showLoadingView",value:function(){this.modalLoading.show(new u.default),this.modalLoading.$el.show(),this.modalContent.$el.hide()}},{key:"hideLoadingView",value:function(){this.modalContent.$el.show(),this.modalLoading.$el.hide()}},{key:"showLogo",value:function(){this.getHeaderView().logoArea.show(new i.default(this.getLogoOptions()))}}]),t}();t.default=l},20:function(e,t,n){"use strict";var o=function(e){return e&&e.__esModule?e:{default:e}}(n(6));e.exports=o.default.extend({getDefaultSettings:function(){return{container:null,items:null,columnsCount:3,verticalSpaceBetween:30}},getDefaultElements:function(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run:function(){var e=[],t=this.elements.$container.position().top,n=this.getSettings(),o=n.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(r){var i=Math.floor(r/o),u=jQuery(this),a=u[0].getBoundingClientRect().height+n.verticalSpaceBetween;if(i){var l=u.position(),c=r%o,s=l.top-t-e[c];s-=parseInt(u.css("margin-top"),10),s*=-1,u.css("margin-top",s+"px"),e[c]+=a}else e.push(a)})}})},200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Marionette.LayoutView),o(t,[{key:"className",value:function(){return"elementor-templates-modal__header"}},{key:"getTemplate",value:function(){return"#tmpl-elementor-templates-modal__header"}},{key:"regions",value:function(){return{logoArea:".elementor-templates-modal__header__logo-area",tools:"#elementor-template-library-header-tools",menuArea:".elementor-templates-modal__header__menu-area"}}},{key:"ui",value:function(){return{closeModal:".elementor-templates-modal__header__close"}}},{key:"events",value:function(){return{"click @ui.closeModal":"onCloseModalClick"}}},{key:"templateHelpers",value:function(){return{closeType:this.getOption("closeType")}}},{key:"onCloseModalClick",value:function(){this._parent._parent._parent.hideModal()}}]),t}();t.default=r},201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Marionette.ItemView),o(t,[{key:"getTemplate",value:function(){return"#tmpl-elementor-templates-modal__header__logo"}},{key:"className",value:function(){return"elementor-templates-modal__header__logo"}},{key:"events",value:function(){return{click:"onClick"}}},{key:"templateHelpers",value:function(){return{title:this.getOption("title")}}},{key:"onClick",value:function(){var e=this.getOption("click");e&&e()}}]),t}();t.default=r},202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Marionette.ItemView),o(t,[{key:"id",value:function(){return"elementor-template-library-loading"}},{key:"getTemplate",value:function(){return"#tmpl-elementor-template-library-loading"}}]),t}();t.default=r},5:function(e,t,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){var e=jQuery,t=arguments,n=this,r={},i=void 0;this.getItems=function(e,t){if(t){var n=t.split("."),o=n.splice(0,1);if(!n.length)return e[o];if(!e[o])return;return this.getItems(e[o],n.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,r,u){if(u||(u=i),"object"===(void 0===t?"undefined":o(t)))return e.extend(u,t),n;var a=t.split("."),l=a.splice(0,1);return a.length?(u[l]||(u[l]={}),n.setSettings(a.join("."),r,u[l])):(u[l]=r,n)},this.forceMethodImplementation=function(e){var t=e.callee.name;throw new ReferenceError("The method "+t+" must to be implemented in the inheritor child.")},this.on=function(t,i){return"object"===(void 0===t?"undefined":o(t))?(e.each(t,function(e){n.on(e,this)}),n):(t.split(" ").forEach(function(e){r[e]||(r[e]=[]),r[e].push(i)}),n)},this.off=function(e,t){if(!r[e])return n;if(!t)return delete r[e],n;var o=r[e].indexOf(t);return-1!==o&&delete r[e][o],n},this.trigger=function(t){var o="on"+t[0].toUpperCase()+t.slice(1),i=Array.prototype.slice.call(arguments,1);n[o]&&n[o].apply(n,i);var u=r[t];return u?(e.each(u,function(e,t){t.apply(n,i)}),n):n},n.__construct.apply(n,t),e.each(n,function(e){var t=n[e];"function"==typeof t&&(n[e]=function(){return t.apply(n,arguments)})}),function(){i=n.getDefaultSettings();var o=t[0];o&&e.extend(!0,i,o)}(),n.trigger("init")};r.prototype.__construct=function(){},r.prototype.getDefaultSettings=function(){return{}},r.extendsCount=0,r.extend=function(e){var t=jQuery,n=this,o=function(){return n.apply(this,arguments)};t.extend(o,n),(o.prototype=Object.create(t.extend({},n.prototype,e))).constructor=o;var i=++r.extendsCount;return o.prototype.getConstructorID=function(){return i},o.__super__=n.prototype,o},e.exports=r},6:function(e,t,n){"use strict";var o=function(e){return e&&e.__esModule?e:{default:e}}(n(5));e.exports=o.default.extend({elements:null,getDefaultElements:function(){return{}},bindEvents:function(){},onInit:function(){this.initElements(),this.bindEvents()},initElements:function(){this.elements=this.getDefaultElements()}})}});